package com.gpframework.module.order.mapper;

import com.gpframework.module.order.domain.GpFlowConfig;
import com.gpframework.module.order.domain.vo.GpFlowConfigVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpFlowConfig
 * @Author gpframework
 * @Date 2023-06-16
 * @Version 1.0.0
 * @Description 流转节点配置Mapper接口
 */
public interface GpFlowConfigMapper extends BaseMapper<GpFlowConfig> {

    /**
    * 列表
    * @param lqw
    * @return
    */
    List<GpFlowConfigVo> listVo(@Param("ew") QueryWrapper<GpFlowConfig> lqw);

    /**
    * 对象
    * @param id
    * @return
    */
    GpFlowConfigVo getVo(@Param("id")Long id);

    List<Long> getOrderStatusByUserId(Long userId);
}
